-
Notifications
You must be signed in to change notification settings - Fork 44
add backend
to COMPILER_KWARGS
#358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Your PR requires formatting changes to meet the project's style guidelines. Click here to view the suggested changes.diff --git a/test/execution.jl b/test/execution.jl
index e15a434..312998c 100644
--- a/test/execution.jl
+++ b/test/execution.jl
@@ -135,20 +135,20 @@ end
end
end
-@testset "backends" begin
- llvm_backend_llvm = sprint() do io
- OpenCL.code_llvm(io, () -> nothing, (); dump_module = true, backend = :llvm)
- end
- if Int === Int64
- @test occursin("target triple = \"spirv64-unknown-unknown-unknown\"", llvm_backend_llvm)
- end
+ @testset "backends" begin
+ llvm_backend_llvm = sprint() do io
+ OpenCL.code_llvm(io, () -> nothing, (); dump_module = true, backend = :llvm)
+ end
+ if Int === Int64
+ @test occursin("target triple = \"spirv64-unknown-unknown-unknown\"", llvm_backend_llvm)
+ end
- llvm_backend_khronos = sprint() do io
- OpenCL.code_llvm(io, () -> nothing, (); dump_module = true, backend = :khronos)
- end
- if Int === Int64
- @test occursin("target triple = \"spir64-unknown-unknown\"", llvm_backend_khronos)
+ llvm_backend_khronos = sprint() do io
+ OpenCL.code_llvm(io, () -> nothing, (); dump_module = true, backend = :khronos)
+ end
+ if Int === Int64
+ @test occursin("target triple = \"spir64-unknown-unknown\"", llvm_backend_khronos)
+ end
end
-end
end |
9ca11cc
to
e39dd95
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #358 +/- ##
==========================================
- Coverage 79.01% 78.86% -0.15%
==========================================
Files 12 12
Lines 672 672
==========================================
- Hits 531 530 -1
- Misses 141 142 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
292f8c1
to
07fa60e
Compare
Failures look unrelated? Looks like something broke with the upstream pocl build |
No description provided.